import request from "../utils/request";

/**
 * 获取用户信息
 */
export function getPerson() {
  return request({
    url: "http://127.0.0.1:8001/app/user/info/person",
    method: "GET",
  });
}

/**
 * 修改用户信息
 */
export function updatePerson(data) {
  return request({
    url: "http://127.0.0.1:8001/app/user/info/updatePerson",
    method: "POST",
    data,
  });
}
